home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / dvxtec.zip / DOS2SCO.TEC < prev    next >
Text File  |  1992-03-31  |  5KB  |  110 lines

  1. ID:F4 Porting DOS fonts to the SCO Open Desktop X Window System
  2. Quarterdeck Technical Note #414
  3. by Kris Williams & Mark Welinder
  4.  
  5.  How to port DOS fonts to the SCO Open Desktop X Window System
  6.  
  7. This document explains the procedures for porting the DESQview/X DOS
  8. fonts over to your SCO Open Desktop workstation.  If you are or will be
  9. running DOS applications to be displayed on your SCO workstation, it
  10. would be more aesthetically correct to use the fixed DOS fonts which
  11. where provided with DESQview/X.
  12.  
  13. To follow the steps covered in this document you will first need to have
  14. installed DESQview/X, and configured your TCP/IP networking software on
  15. both SCO Unix workstation, and the DOS DESQview/X PC.  It is only
  16. necessary to copy the font files to the SCO workstation once.
  17.  
  18. THE PROCEDURE 
  19.  
  20. Is ODT (Open Desktop) configured on your SCO workstation?  You will need
  21. to determine whether or not the X Window System is installed on your SCO
  22. workstation before continuing with this document.
  23.  
  24. Have you installed DESQview/X on your DOS PC?  It is necessary to have
  25. DESQview/X installed on the DOS machine before continuing with this
  26. document.  You may determine this by looking in the \DVX subdirectory
  27. for the file DESQVIEW.DVO. If this file exists, DESQview/X is installed,
  28. and you may continue.  If not you will need to reference you DESQview/X
  29. installation guide for before continuing.
  30.  
  31. CONVERTING THE FONT DESCRIPTION FILES
  32.  
  33. Before moving the PC fonts over to the SCO workstation, you will need to
  34. convert the .bdf files to .snf files.  This would be done by typeing the
  35. following series of commands:
  36.  
  37.    cd \DVX\BDF <─┘
  38.    ..\bdftosnf pc8x8.bdf > pc8x8.snf
  39.    ..\bdftosnf pc8x14.bdf > pc8x14.snf
  40.    ..\bdftosnf pc8x16.bdf > pc8x16.snf
  41.  
  42. TRANSFERING THE FONT DEFINITION FILES
  43.  
  44. If you haven't yet configured FTP's PCTCP software you'll need to
  45. reference the green PCTCP manual before continuing with this document.
  46.  
  47. You will need to switch to the \FTP subdirectory on the DOS machine
  48. where the PCTCP software is configured.  This may be done with the
  49. following command:
  50.  
  51.     C:\> cd \ftp <─┘
  52.  
  53. Then we'll use the FTP (File Transfere Protocol) utility to move the
  54. font description files up to the SCO workstation.  This can be done with
  55. the following commands:
  56.  
  57.     C:\FTP> ftp <─┘
  58.     ftp> login: <username> <─┘
  59.     ftp> password: <password> <─┘
  60.   ftp> mput \DVX\BDF\pc*.snf <─┘
  61.     ftp> quit <─┘
  62.  
  63. In the above command <username> would be your username on the SCO
  64. workstation, and <password> is the password required for <username> to
  65. successfully log on to the SCO.  After these commands are performed, the
  66. font description files are ready to be aliased, and used by the X Window
  67. System on the SCO workstation.
  68.  
  69. ALIASING THE FONTS
  70.  
  71. ODT-VIEW lets you assign aliases to fonts so that you can refer to a
  72. font without having to type it's full name.  To create a font alias,
  73. follow the following steps:
  74.  
  75. 1.  Log into the system as root.
  76.  
  77. 2.  Create a file named fonts.alias if it doesn't already exist in the
  78.     directory that contains the full font name.  Usually, this directory is
  79.     called either 75dpi, 100dpi or misc in the /usr/lib/X11/fonts
  80.     subdirectory.  This directory must be in the search path.
  81.  
  82. 3.  Edit fonts.alias so that it contains at least one line with the
  83.     following format:
  84.  
  85.     fontname    aliasname
  86.  
  87.     In this line, fontname is the fullname of the font, and aliasname is
  88.     the name that is used to reference this font.  So, to add the pc
  89.     fonts to this alias list, you will need to append the following
  90.     lines to the fonts.alias file:
  91.  
  92. -quarterdeck-fixed-bold-r-normal--8-80-75-75-c-80-iso8859-1    pc8x8.snf
  93. -quarterdeck-fixed-bold-r-normal--14-140-75-75-c-80-iso8859-1  pc8x14.snf
  94. -quarterdeck-fixed-bold-r-normal--16-160-75-75-c-80-iso8859-1  pc8x16.snf
  95.  
  96. 4.  If you performed step 3 from an X session, you must reset the
  97.     server's font search path.  You can do this either by stopping ODT-VIEW
  98.     and then restarting it, or by entering the following command from and
  99.     odtterm window:
  100.  
  101.     xset fp rehash
  102.  
  103.     If you performed step 3 directly from the operating system command line
  104.     (and ODT-VIEW was not running), there is no need to reset the server.
  105.     The changes that you made to the fonts.alias file are incorporated
  106.     automatically the next time you start ODT-VIEW.
  107.  
  108.                 Copyright (C) 1991 by Quarterdeck Office Systems
  109. * * *    E N D   O F   F I L E    * * *
  110.